/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package crypbox.net;

import crypbox.gui.Tray;
import crypbox.net.backend.Backend;
import java.io.IOException;

/**
 *
 * @author m-jay
 */
public class CrypBoxNet {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws IOException, Exception {

//        if (Backend.getInstance().getTicket()) {
//            Backend.getInstance().authenticateUser();
//            Backend.getInstance().getAuthToken();
//        }


        Tray.registerTray();
        Backend.getInstance().startWatching();

    }



}
